/**
 * File: ControllerInfo.java
 * Created by: mhaimel
 * Created on: 2 Jul 2009
 * CVS:  $Id: ControllerInfo.java,v 1.2 2009/10/09 15:00:52 mhaimel Exp $
 */
package uk.ac.ebi.curtain.management;

import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;


/**
 * @author mhaimel
 *
 */
public class ControllerInfo {
	private String type;
	private Integer sequence;
	private String name;
	private Integer parallel;
	private String className;
	
	public ControllerInfo() {
		// nothing to do
	}
	
	public ControllerInfo(String name, Integer parallel, String className, Integer sequence, String type) {
		super();
		this.name = name;
		this.parallel = parallel;
		this.className = className;
		this.sequence = sequence;
		this.type = type;
	}

	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getParallel() {
		return parallel;
	}
	public void setParallel(Integer parallel) {
		this.parallel = parallel;
	}
	public String getClassName() {
		return className;
	}
	public void setClassName(String className) {
		this.className = className;
	}
	
	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this,ToStringStyle.SHORT_PREFIX_STYLE);
	}

	public void setSequence(Integer sequence) {
		this.sequence = sequence;
	}

	public Integer getSequence() {
		return sequence;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getType() {
		return type;
	}
	
}
